﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="java.util.Date" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>

<%
          Date date=new Date();//获取当前时间
          out.println(date);//显示日期
          out.println("<br><br>");

    	  Object p1=request.getAttribute("message");//获取request中的message中的信息
        if(!p1.equals(null)){
      	  out.println(p1);
      	  out.println("<br><br>");
        }
          Object p=request.getAttribute("diji");
          out.println("第"+p+"题目");
          
	%>
	
	
	<br><br>
	<form action="jisuan.do">
		题目:<input type="text" name="timu" value="${requestScope.timu }" />
		<br><br>
		答案:<input type="text" name="daan"  /> 
		<br><br>
		结果:<input type="text" name="jiegou" value="${requestScope.jieguo }" /> 
			<br><br>
			<input type="submit" name="queding" />
	</form>

</body>
</html>